package com.dongdongshop.service;

import com.dongdongshop.data.PageBean;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;

import java.util.List;

public interface GoodsService {
    void saveGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, String name, String thp1, String thp2);


    PageBean<TbGoods> getGoodsList(Integer pageNumber, Integer pageSize,String goodsName);


    void setStatu(Long[] id, String status);

    TbGoods findGoods(Long goodsId);

    TbGoodsDesc getGoodsDescById(Long goodsId);

    List<TbItem> selectItemListByGoodsId(Long goodsId);
}
